export const getCapsulePadding = () => {
    let bounding = uni.getMenuButtonBoundingClientRect();
    let InfoSync = uni.getSystemInfoSync();
    let res = InfoSync.windowWidth;
    
    if (bounding) {
      return `0px ${res - bounding.right}px`;
    } else {
      return `10px`;
    }
  };